package com.backend.controllers;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.servlet.ModelAndView;

@Controller
public class LoginController {
    @RequestMapping(value = "/show/register/", method = RequestMethod.GET)
    public ModelAndView showRegister(){
        ModelAndView modelAndView = new ModelAndView("login/register.html");
        return modelAndView;
    }

    @RequestMapping(value = "/login/", method = RequestMethod.GET)
    public ModelAndView login(){
        ModelAndView modelAndView = new ModelAndView("login/login.html");
        return modelAndView;
    }
}
